home *** CD-ROM | disk | FTP | other *** search
- Path: news.nevada.edu!not-for-mail
- From: kesslert@nevada.edu (Troy Kessler)
- Newsgroups: comp.lang.c++
- Subject: Need Help With CSC Homework
- Date: 16 Feb 1996 02:43:18 GMT
- Organization: University of Nevada System Computing Services
- Message-ID: <4g0r06$ss@news.nevada.edu>
- NNTP-Posting-Host: unauthenticated_user@pioneer.nevada.edu
- X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
-
- p.h
-
- const int MAXLENGTH=21;
- class Romantype
- {
- public:
- Romantype();
- friend istream& operator>>(istream& in,Romantype& x);
- friend ostream& operator<<(ostream& out,Romantype x);
- void operator+(Romantype);
- int RomanToDecimal(char[MAXLENGTH]);
- void DecimalToRoman(char[MAXLENGTH],int);
- private:
- char Roman[MAXLENGTH];
- };
-
-